package com.weitao.marketserver.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * 系统设置项 数据库存储
 */
@Data
@TableName("sysconfig")
public class Sysconfig {

    @TableId(type = IdType.AUTO)
    public Integer id;
    public String keytext;
    public String valuetext;

    //    创建
    @TableField(fill = FieldFill.INSERT)
    public Date tmcreate;
    //    更新
    @TableField(fill = FieldFill.INSERT_UPDATE)
    public Date tmmodified;
    //    乐观锁
    @Version
    public Integer version;
    //    逻辑删除
    public Integer deleted;
}
